<?php $neiyebanner=dr_site_value('neiyebanner');?>
<?php if ($neiyebanner) { $key=0; foreach ($neiyebanner as $v) { ?>
{if $v[1] == $cat['name']}
<div class="pic" style="background-image: url(dr_get_file($v[2]))></div>
{/if}
<?php  $key++; } } ?>